<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<link href="${ctx}/css/common-body.css?t=${now}" rel="stylesheet">
<script src="${ctx}/js/imageview/jquery.photo.gallery.js?t=${now}"></script>
<script src="${ctx}/js/common/common-body.js?t=${now}"></script>
<script src="${ctx}/js/plugins/jquery.ajaxfileupload-2.1.js?t=${now}"></script>
<%--body通用部分--%>
<div class="modal fade" id="loadingModal"  tabindex="11999" aria-hidden="true" data-backdrop="static" data-keyboard="false" style="z-index: 99999!important;">
	<div class="loading-div">
		<div class="sk-spinner sk-spinner-three-bounce icon-position">
			<div class="sk-bounce1"></div>
			<div class="sk-bounce2"></div>
			<div class="sk-bounce3"></div>
		</div>
	</div>
</div>

<%--ISV详情通用页面--%>
<div id="commonIsvInfoPage" class="modal" tabindex="-1" role="dialog" data-backdrop="static" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content animated bounceInRight">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
				<h4 style="text-align: center; font-weight: normal;">服务商详情</h4>
			</div>
			<div class="modal-body modal-body-height">
				<form class="form-horizontal m-t" id="_dictDataForm1" novalidate="novalidate">
					<div class="form-group">
						<label class="col-sm-3 control-label">服务商PID：</label>
						<label class="col-sm-8 control-label control-label-content" id="lab_isvPid_com"></label>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">服务商名称：</label>
						<label class="col-sm-8 control-label control-label-content" id="lab_isvName_com"></label>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">公司名称：</label>
						<label class="col-sm-8 control-label control-label-content" id="lab_companyName_com"></label>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">公司地址：</label>
						<label class="col-sm-8 control-label control-label-content" id="lab_companyAddr_com"></label>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">联系人：</label>
						<label class="col-sm-8 control-label control-label-content" id="lab_contactPerson_com"></label>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">联系电话：</label>
						<label class="col-sm-8 control-label control-label-content" id="lab_contactPhone_com"></label>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">对接人（BD）：</label>
						<label class="col-sm-8 control-label control-label-content" id="lab_bdContact_com"></label>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">服务商logo：</label>
						<div class="col-sm-8">
							<div  class="col-sm-2">
								<div class="gallerys">
									<img style="float: left" class="img-rounded img-header gallery-pic" onclick='$.openPhotoGallery(this)' src="" id="lab_isvIcon_com">
								</div>
							</div>
						</div>
					</div>
				</form>
			</div>
			<div class="modal-footer" style="text-align: center;">
				<button class="btn btn-white" onclick="$('#commonIsvInfoPage').modal('hide');">取消</button>
			</div>
		</div>
	</div>
</div>

<%--二维码通用页面--%>
<div id="scanQrCodePage-common" class="modal" tabindex="-1" role="dialog" data-backdrop="static" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content animated bounceInRight">
			<div class="modal-header text-center">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
				<h4>扫码预览</h4>
			</div>
			<div class="modal-body modal-body-height">
				<div class="row">
					<div class="col-sm-12 text-center">
						<div id="scanCode" class="qrCode-text"></div>
						<image id="scanCodeMinApp" class="minApp-qrCode-text"/>
						<div id="scanCodeExpire" class="qrCode-input qrCode-hidden">
							二维码失效
							<br>
							<input class="btn btn-primary btn-xs" value="刷新" id="_refreshQrCode">
						</div>
					</div>
					<div class="col-sm-12 text-center">提示：验证发布内容准确性，上线更放心</div>
					<div class="col-sm-12 text-center">二维码有效期为<span id="_validNum"></span>秒</div>
					<div id="time_num" hidden="hidden"></div>
				</div>
			</div>
			<div class="modal-footer" style="text-align: center;">
				<button class="btn btn-info" id="_passBtn">通过</button>
				<button class="btn btn-danger" id="_unPassBtn">不通过</button>
				<button class="btn btn-info" id="_publishBtn" data-loading-text="提交中...">提交发布</button>
				<button class="btn btn-white" onclick="$('#scanQrCodePage-common').modal('hide')">取消</button>
			</div>
		</div>
	</div>
</div>

<%--导入通用页面--%>
<div id="importExcelPage" class="modal" tabindex="-1" role="dialog" data-backdrop="static" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content animated bounceInRight">
			<div class="modal-header">
				<h4><span id="_importTitle">导入</span></h4>
			</div>
			<div class="modal-body modal-body-height modal-body-height-new " id="_ImportExcelDiv">
				<div class="row">
					<form class="form-horizontal m-t" id="_dataForm">
						<div class="form-group">
							<div class="col-sm-12">
								<label class="ui-upload disable-color-style margin-style" id="_chooseFile">浏览<input type="file" id="chooseFile" name="chooseFile" style="display: none;" onchange="fileChangeEvent(this)"/></label>
								<button class="btn btn-white" id="_downTempBtn">下载模板</button>
								<span>仅支持excel表格导入</span>
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-12">
								<label class="control-label" id="_fileName"></label>
							</div>
						</div>
					</form>
				</div>
				<div class="row div-hidden" id="_errorTipDiv">
					<div class="col-sm-12" style="padding: 0px;">
						<label class="control-label" id="_importTip"></label>
						<div class="ibox float-e-margins">
							<div class="ibox-content none-border"  style="padding:0px 0px 20px 0px;">
								<table class='table table-striped table-hover'
									   id="errorTable"
									   data-toggle="table"
									   data-striped="true"
									   data-response-handler="handleServerResult"
									   data-page-size="${defaultPageSize}"
									   data-page-list="${pageList}">
									<thead>
									<tr>
										<th data-field="index" data-align="center" data-width="90px">行数</th>
										<th data-field="reason" data-align="left">错误提示</th>
									</tr>
									</thead>
								</table>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="modal-footer" style="text-align: right;">
				<button class="btn btn-primary" id="_saveBtn">导入</button>
				<button class="btn btn-white" onclick="hideImportExcelPage()">取消</button>
			</div>
		</div>
	</div>
</div>